<template>
  <div class="playlist-box">
    <h3 class="tittle">
      <span>
        我收藏的歌单（5）
      </span>
    </h3>
      <a-divider class="divider" style="height: 1px; background-color: #1890FF" />
    <ul class="sbox">
      <li>
        <div class="cover">
          <a href="javascript:;">
            <img src="https://p1.music.126.net/XSGj6ZGwSdLvrqA2QavfmA==/109951165600631891.jpg?param=140y140" alt="" />
            <div class="bottom">
              <span class="iconfont icon-ic_earphone earphone"></span>
              <span>
                322万
              </span>
              <span class="iconfont icon-play play"></span>
            </div>
          </a>
          <p class="describe">
            <a href="javascript:;">
              纯音乐|学习工作放松安静减压
            </a>
          </p>
        </div>
      </li>
      <li>
        <div class="cover">
          <a href="javascript:;">
            <img src="https://p1.music.126.net/XSGj6ZGwSdLvrqA2QavfmA==/109951165600631891.jpg?param=140y140" alt="" />
            <div class="bottom">
              <span class="iconfont icon-ic_earphone earphone"></span>
              <span>
                322万
              </span>
              <span class="iconfont icon-play play"></span>
            </div>
          </a>
          <p class="describe">
            <a href="javascript:;">
              纯音乐|学习工作放松安静减压
            </a>
          </p>
        </div>
      </li>
      <li>
        <div class="cover">
          <a href="javascript:;">
            <img src="https://p1.music.126.net/XSGj6ZGwSdLvrqA2QavfmA==/109951165600631891.jpg?param=140y140" alt="" />
            <div class="bottom">
              <span class="iconfont icon-ic_earphone earphone"></span>
              <span>
                322万
              </span>
              <span class="iconfont icon-play play"></span>
            </div>
          </a>
          <p class="describe">
            <a href="javascript:;">
              纯音乐|学习工作放松安静减压
            </a>
          </p>
        </div>
      </li>
      <li>
        <div class="cover">
          <a href="javascript:;">
            <img src="https://p1.music.126.net/XSGj6ZGwSdLvrqA2QavfmA==/109951165600631891.jpg?param=140y140" alt="" />
            <div class="bottom">
              <span class="iconfont icon-ic_earphone earphone"></span>
              <span>
                322万
              </span>
              <span class="iconfont icon-play play"></span>
            </div>
          </a>
          <p class="describe">
            <a href="javascript:;">
              纯音乐|学习工作放松安静减压
            </a>
          </p>
        </div>
      </li>
      <li>
        <div class="cover">
          <a href="javascript:;">
            <img src="https://p1.music.126.net/XSGj6ZGwSdLvrqA2QavfmA==/109951165600631891.jpg?param=140y140" alt="" />
            <div class="bottom">
              <span class="iconfont icon-ic_earphone earphone"></span>
              <span>
                322万
              </span>
              <span class="iconfont icon-play play"></span>
            </div>
          </a>
          <p class="describe">
            <a href="javascript:;">
              纯音乐|学习工作放松安静减压
            </a>
          </p>
        </div>
      </li>
    </ul>
  </div>
</template>

<script>
import "@/assets/svg/iconfont.css"
export default {
  name: "playlist",
  mounted () {

  },
};
</script>

<style scoped>
ul,
ol,
li {
  list-style-type: none;
}
a {
  color: #666;
  text-decoration: none;
  outline: 0;
}
a:hover {
  text-decoration: none;
}
　　 .playlist-box {
  width: 900px;
}
.tittle {
  font-size: 20px;
  color: rgb(51, 51, 51);
}
.divider {
  margin: 3px 0;
  
}
.ant-divider-horizontal{
    width: 900px;
}
.sbox {
  width: 950px;
  padding: 0;
  margin-left: -50px;
}
.sbox::after {
  content: "";
  display: block;
  clear: both;
}
.sbox li {
  width: 140px;
  height: 165px;
  float: left;
  display: block;
  box-sizing: border-box;
  margin-left: 50px;
  margin-bottom: 30px;
}

.cover {
  width: 140px;
  height: 140px;
}

.cover a {
  width: 140px;
  height: 140px;
  display: block;
  position: relative;
}

.bottom {
  position: absolute;
  bottom: 0;
  width: 140px;
  height: 27px;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 100;
}

.bottom span {
  font-size: 12px;
  color: #cccccc;
}

.iconfont {
  line-height: 100%;
}

.earphone {
  font-size: 14px;
  margin-top: 5px;
  margin-left: 10px;
  margin-right: 5px;
}
.play {
  margin-top: 5px;
  margin-right: 10px;
  font-size: 18px;
  float: right;
}

p {
  width: 140px;
  margin-top: 8px;
}
.describe a {
  width: 140px;
  overflow: hidden; /*隐藏*/
  white-space: nowrap; /*不换行*/
  text-overflow: ellipsis; /* 超出部分省略号 */
  color: rgb(0, 0, 0);
}
</style>
